const express = require('express');
const router = express.Router();

router.get('/', function (_req, res) {
    res.render('client/index.html', {
        app:{
            title:'首页'
        }
    });
});

router.get('/login', function (_req, res) {
    res.render('client/login.html',{
        app:{
            title:'登录'
        }
    });
});

router.get('/signup', function (_req, res) {
    res.render('client/signup.html',{
        app:{
            title:'注册'
        }
    });
});

module.exports = router;